From 21c987399d3756cd0447e4a39131f3459f563a89 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 22 Jun 2004 19:50:36 +0000 Subject: [PATCH] Improve docs for the ::move_cursor signal. * gtk/gtktextview.c (gtk_text_view_class_init): Improve docs for the ::move_cursor signal. --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-6 | 3 +++ ChangeLog.pre-2-8 | 3 +++ gtk/gtktextview.c | 8 ++++++-- 5 files changed, 18 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9b1deeb05e..a3ff17215b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-06-22 Matthias Clasen + * gtk/gtktextview.c (gtk_text_view_class_init): Improve docs + for the ::move_cursor signal. + * gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept "" as a valid accel path. (#144427, Philip Kendall) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 9b1deeb05e..a3ff17215b 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2004-06-22 Matthias Clasen + * gtk/gtktextview.c (gtk_text_view_class_init): Improve docs + for the ::move_cursor signal. + * gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept "" as a valid accel path. (#144427, Philip Kendall) diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 9b1deeb05e..a3ff17215b 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,8 @@ 2004-06-22 Matthias Clasen + * gtk/gtktextview.c (gtk_text_view_class_init): Improve docs + for the ::move_cursor signal. + * gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept "" as a valid accel path. (#144427, Philip Kendall) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 9b1deeb05e..a3ff17215b 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2004-06-22 Matthias Clasen + * gtk/gtktextview.c (gtk_text_view_class_init): Improve docs + for the ::move_cursor signal. + * gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept "" as a valid accel path. (#144427, Philip Kendall) diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 932fced84f..2c649ca4a0 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -699,8 +699,12 @@ gtk_text_view_class_init (GtkTextViewClass *klass) * @extend_selection: %TRUE if the move should extend the selection * * The ::move-cursor signal is a keybinding signal which gets emitted - * when the user initiates a cursor movement. Applications should not - * use it. + * when the user initiates a cursor movement. + * + * Applications should not connect to it, but may emit it with + * g_signal_emit_by_name() if they need to control scrolling + * programmatically. + * */ signals[MOVE_CURSOR] = g_signal_new ("move_cursor", -- 2.30.2